package com.niodata.dp.monitor.core.task.az;

import java.util.Date;

public class Executor {

  private int id;
  private String host;
  private int port;
  private boolean isActive;
  private ExecutorInfo executorInfo;
  private Date lastStatsUpdatedTime;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getHost() {
    return host;
  }

  public void setHost(String host) {
    this.host = host;
  }

  public int getPort() {
    return port;
  }

  public void setPort(int port) {
    this.port = port;
  }

  public boolean isActive() {
    return isActive;
  }

  public void setActive(boolean active) {
    isActive = active;
  }

  public ExecutorInfo getExecutorInfo() {
    return executorInfo;
  }

  public void setExecutorInfo(ExecutorInfo executorInfo) {
    this.executorInfo = executorInfo;
  }

  public Date getLastStatsUpdatedTime() {
    return lastStatsUpdatedTime;
  }

  public void setLastStatsUpdatedTime(Date lastStatsUpdatedTime) {
    this.lastStatsUpdatedTime = lastStatsUpdatedTime;
  }
}
